/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoeducation.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 学院管理Entity
 * @author yt
 * @version 2017-10-18
 */
public class CampusinfoCollege extends DataEntity<CampusinfoCollege> {
	
	private static final long serialVersionUID = 1L;
	private String collegename;		// 报考学院名称
	private String schoolid;		// 报考学校id
	private String schoolname;    //学校名称
	
	public CampusinfoCollege() {
		super();
	}

	public CampusinfoCollege(String id){
		super(id);
	}

	public String getSchoolname() {
		return schoolname;
	}

	public void setSchoolname(String schoolname) {
		this.schoolname = schoolname;
	}

	@Length(min=1, max=64, message="报考学院名称长度必须介于 1 和 64 之间")
	public String getCollegename() {
		return collegename;
	}

	public void setCollegename(String collegename) {
		this.collegename = collegename;
	}
	
	@Length(min=1, max=64, message="报考学校id长度必须介于 1 和 64 之间")
	public String getSchoolid() {
		return schoolid;
	}

	public void setSchoolid(String schoolid) {
		this.schoolid = schoolid;
	}
	
}